import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2022-9-02
 * Time: 下午 19:09
 */
public class Demo3 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNext()) {
            int n = scan.nextInt();
            int m = 2*n-1;
            int[][] array = new int[n][m];

            for (int i = 0; i < n; i++) {
                for (int j = 0; j < m; j++) {
                    array[i][j] = 0;
                }
            }

            array[0][0] = 1;
            for (int i = 1; i < n; i++) {
                array[i][0] = array[i][i*2] =1;
                for (int j = 1; j < i*2; j++) {
                    if(j==1) {
                        array[i][j] = array[i-1][j] + array[i-1][j-1];
                    }else{
                        array[i][j] = array[i-1][j] + array[i-1][j-1]+array[i-1][j-2];
                    }
                }
            }

            int k = 0;
            for (; k < m; k++) {
                if(array[n-1][k]%2 == 0) {
                    System.out.println(k+1);
                }
            }
            if(k==m) {
                System.out.println(-1);
            }
        }
    }
}

